Skip to content

Remove Jackson from AWS Helper class#247

Merged
realark merged 1 commit into
masterfrom
ark/remove_jackson_from_aws_helper
Mar 2, 2018
Merged

Remove Jackson from AWS Helper class#247
realark merged 1 commit into
masterfrom
ark/remove_jackson_from_aws_helper

Conversation

@realark
Copy link
Copy Markdown
Contributor

@realark realark commented Mar 2, 2018

Referencing core agent classes in helper classes can lead to class load exceptions because those classes won't always be available on the classloader the helper is injected on.

@realark realark added the type: bug Bug report and fix label Mar 2, 2018
@realark realark requested a review from tylerbenson March 2, 2018 15:50
@realark realark force-pushed the ark/remove_jackson_from_aws_helper branch from acb85a4 to 1f011d5 Compare March 2, 2018 16:04
@realark realark requested review from palazzem and removed request for tylerbenson March 2, 2018 17:50
@realark realark force-pushed the ark/remove_jackson_from_aws_helper branch from 1f011d5 to 624bee3 Compare March 2, 2018 17:59
@realark realark force-pushed the ark/remove_jackson_from_aws_helper branch from 624bee3 to b2af749 Compare March 2, 2018 18:01
@realark realark added this to the 0.4.1 milestone Mar 2, 2018
@realark realark force-pushed the ark/remove_jackson_from_aws_helper branch 4 times, most recently from 7b0b625 to b2af749 Compare March 2, 2018 19:29
@realark realark merged commit ddf0a28 into master Mar 2, 2018
@realark realark deleted the ark/remove_jackson_from_aws_helper branch March 2, 2018 20:05
@tylerbenson
Copy link
Copy Markdown
Contributor

Why was Jackson on the class path at all?

@realark
Copy link
Copy Markdown
Contributor Author

realark commented Mar 3, 2018

It was being used as a one-liner to parse the aws request headers into a string for the params tag.

@tylerbenson
Copy link
Copy Markdown
Contributor

No, I understand that. I’m wondering how the dependency got onto the classpath. Is it a transitive dependency from AWS?

@realark
Copy link
Copy Markdown
Contributor Author

realark commented Mar 3, 2018

Yep, looks like it's a transitive dependency from aws. Our shadow rules renamed it to the datadog prefix, then the recent classloader overhaul made those datadog deps unreachable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants